import React from 'react';
import ReactDOM from 'react-dom/client';

// 样式
import './styles/initialization.scss';
// 路由
import MainRouter from "./router/router"
// mbox
import {Provider} from 'mobx-react';
import store from "./mobx/store";

const root = ReactDOM.createRoot(
    document.getElementById('root') as HTMLElement
);
root.render(
    <Provider {...store} >
        <MainRouter/>
    </Provider>
);
